from  ConfigParser import RawConfigParser

class MyConfigParser:

	def __init__( self, conf_parser, section ):
		self.conf_parser = conf_parser
		self.section = section

	def getSection( self ):
		return self.section
		
	def getHost( self ):
		return self.conf_parser.get( self.section, 'host')

	def getPort( self ):
		return self.conf_parser.get( self.section, 'port')

	def getSSL( self ):
		return self.conf_parser.get( self.section, 'ssl')

	def getUser( self ):
		return self.conf_parser.get( self.section, 'user')

	def getPass( self ):
		return self.conf_parser.get( self.section, 'pass')
